#!/usr/bin/env sh
###
 # @Author: isaac
 # @Date: 2022-12-06 23:12:09
 # @LastEditors: isaac
 # @LastEditTime: 2022-12-08 23:38:53
 # @Description: 
### 

sketchybar  --add          item       stlogo center                                               \
            --set          stlogo     label.font="STFont:Regular:20.0"                           \
            --set          stlogo     label="1"             \
            --set          stlogo     label.padding_left=3                      \
            --set          stlogo     label.padding_right=3

sketchybar  --add          item       window center                                               \
            --set          window     label.font="$TEXT_FONT:Bold:16.0"                           \
            --set          window     label.padding_left=-15             \
            --set          window     script="$HOME/.config/sketchybar/plugins/window_title.sh"   \
            --subscribe    window     front_app_switched